//
//  MyWindow.h
//  jRSSReader
//
//  Created by Jodynek on 4/12/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <AppKit/AppKit.h>
#import "GoogleReader.h"
#import "MyWindowView.h"
#import "frmSettingsController.h"

@interface MyWindow : NSWindow
{
  BOOL forceDisplay;
  bool shouldRedoInitials, shouldDrag;
  NSPoint initialLocation;
  NSPoint currentLocation;
  NSPoint newOrigin;
  NSPoint initialLocationOnScreen;
  NSRect initialFrame;
  NSRect screenFrame;
  NSRect windowFrame;
  int minY;
  GoogleReader *gr;  
  __weak MyWindowView *view;
  
  NSTimer *timer;
  NSTimer *updateRSSTimer;
  
  frmSettingsController *wndSettings;
}
- (bool)dragged;
- (NSColor *)sizedHUDBackground;
- (void)addCloseWidget;
- (void)onTick:(NSTimer *)timer;
- (void)onRSSUpdateTimer:(NSTimer *)timer;
- (void)initLogin;
- (IBAction)mnuSettingsClicked:(id)sender;

@property (weak) IBOutlet MyWindowView *view;
@end
